﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace LIM.forms
{
    public partial class radForm_KiemNghiem_DanhSachMauDaLuu : Telerik.WinControls.UI.RadForm
    {
        public radForm_KiemNghiem_DanhSachMauDaLuu()
        {
            InitializeComponent();
            this.radTreeView1.TreeViewElement.AllowAlternatingRowColor = true;
            radGridView2.DataSource = GetTable();
        }
        static DataTable GetTable()
        {
            //
            // Here we create a DataTable with four columns.
            //
            DataTable table = new DataTable();
            table.Columns.Add("MaSoMau", typeof(string));
            table.Columns.Add("TenMau", typeof(string));
            table.Columns.Add("TinhTrangMau", typeof(string));
            table.Columns.Add("LuongMau", typeof(string));
            table.Columns.Add("DonVi", typeof(string));
            table.Columns.Add("Ngay", typeof(string));
            // Here we add five DataRows.
            //
            table.Rows.Add("M01", "THỨC ĂN CHĂN NUÔI", "xyz",  "200","ml",DateTime.Now);
            table.Rows.Add("M02", "DẦU - MỠ", "xyz", "abc", "200", DateTime.Now);
            table.Rows.Add("M03", "TRÀ - CAFE", "xyz", "abc", "100", DateTime.Now);
            return table;
        }
        private void radForm_CRM_DanhSachBaoGia_Load(object sender, EventArgs e)
        {
            
        }
    }
}
